/*
 * MealComment class is an object relating to each meal comment in the server
 */

package com.object;

public class MealComment {
	private int _id;			//Comment Id
	private int _user;			//User id of the user who gives this comment
	private int _meal;			//Meal id of the restaurant this comment belongs to
	private String _comment;	// comment string
	private String _createDate;	//Datetime string in format Y-m-d H:i:s
	
	public MealComment(int id,int user,int meal, String comment, String createDate){
		_id = id;
		_user = user;
		_meal = meal;
		_comment = comment;
		_createDate = createDate;
	}
	
	public int getId(){
		return _id;
	}
	
	public int getUser(){
		return _user;
	}
	
	public int getMeal(){
		return _meal;
	}
	
	
	public String getComment(){
		return _comment;
	}
	
	public String getCreateDate(){
		return _createDate;
	}
}
